function onOpen(){
  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var subMenus = [];
  subMenus.push({name: "実行", functionName: "myFunction"});
  subMenus.push(null);
  subMenus.push({name: "実行2", functionName: "myFunction2"});
  ss.addMenu("拡張", subMenus)
}

function myFunction() {
  Browser.msgBox("HelloWorld");
}

function myFunction2() {
  Browser.msgBox("Hello World 2");
}
